using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
[Serializable]
public class SysExceptonlogEntity : EntityBase
{
public SysExceptonlogTable TableSchema
{
get
{
return (SysExceptonlogTable)_tableSchema;
}}

public SysExceptonlogEntity()
{
_tableSchema = SysExceptonlogTable.Current;
}

#region 属性列表

public Int32? ExceptionLogID
{
get { return Convert.ToInt32(GetData(SysExceptonlogTable.C_EXCEPTIONLOGID)); }
set { SetData(SysExceptonlogTable.C_EXCEPTIONLOGID, value); }
}

public String ModuleID
{
get { return Convert.ToString(GetData(SysExceptonlogTable.C_MODULEID)); }
set { SetData(SysExceptonlogTable.C_MODULEID, value); }
}

public String ModuleName
{
get { return Convert.ToString(GetData(SysExceptonlogTable.C_MODULENAME)); }
set { SetData(SysExceptonlogTable.C_MODULENAME, value); }
}

public DateTime? RecordTime
{
get { return Convert.ToDateTime(GetData(SysExceptonlogTable.C_RECORDTIME)); }
set { SetData(SysExceptonlogTable.C_RECORDTIME, value); }
}

public String ExceptionMessage
{
get { return Convert.ToString(GetData(SysExceptonlogTable.C_EXCEPTIONMESSAGE)); }
set { SetData(SysExceptonlogTable.C_EXCEPTIONMESSAGE, value); }
}

public String OrgStackTrace
{
get { return Convert.ToString(GetData(SysExceptonlogTable.C_ORGSTACKTRACE)); }
set { SetData(SysExceptonlogTable.C_ORGSTACKTRACE, value); }
}

public String ExceptionUrl
{
get { return Convert.ToString(GetData(SysExceptonlogTable.C_EXCEPTIONURL)); }
set { SetData(SysExceptonlogTable.C_EXCEPTIONURL, value); }
}

public String IPAddress
{
get { return Convert.ToString(GetData(SysExceptonlogTable.C_IPADDRESS)); }
set { SetData(SysExceptonlogTable.C_IPADDRESS, value); }
}

public String UserID
{
get { return Convert.ToString(GetData(SysExceptonlogTable.C_USERID)); }
set { SetData(SysExceptonlogTable.C_USERID, value); }
}

public String UserName
{
get { return Convert.ToString(GetData(SysExceptonlogTable.C_USERNAME)); }
set { SetData(SysExceptonlogTable.C_USERNAME, value); }
}

public String ActionType
{
get { return Convert.ToString(GetData(SysExceptonlogTable.C_ACTIONTYPE)); }
set { SetData(SysExceptonlogTable.C_ACTIONTYPE, value); }
}

public String ExceptionType
{
get { return Convert.ToString(GetData(SysExceptonlogTable.C_EXCEPTIONTYPE)); }
set { SetData(SysExceptonlogTable.C_EXCEPTIONTYPE, value); }
}

#endregion
}
}